<%-- 
    Document   : index
    Created on : May 21, 2011, 12:07:17 PM
    Author     : a76944
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>

<jsp:useBean id="user" class="user.UserData" scope="session"/>

<jsp:useBean id="catActual" class="data.categoria" scope="application"/>
<jsp:useBean id="mapper" class="data.proyectoMapper" scope="application"/>

<%@page import="data.proyecto"%>

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <style type="text/css">
            fieldset {
                color: #393;
                background-color: #dfd;
                padding: 15px 15px 15px 20px;
                position: absolute;
                top: 50%;
                left: 50%;
                margin-top:-105px;
                margin-left:-125px;
                width: 250px;
                height: 105px;
                border-color: #090;
                border-width: 2px;
                border-style: solid;
            }
            label{
                display: block;
                float: left;
            }
            label{
                width: 75px;
            }
            legend{
                font-size:30px;
                color: #669900;
            }
        </style>
        <title>Ingreso</title>
    </head>
    <body>
        <fieldset>
        <legend>Ingreso</legend>
        <form method=post action="verificacion.jsp"
        <br><label for="username">Usuario:</label><input type=text name=username>
            
        <br><label for="password">Contraseña:</label><input type=password name=password>
        <br><input type=submit value="Ingresar">
        </fieldset>
        </form>
        <%
            catActual.copiar(mapper.importarDatos());
        %>
    </body>
</html>